package com.oss.service;

import org.oss.client.dto.BaseRequest;
import org.oss.client.dto.OssSecurityResponse;

import com.oss.vo.SysUser;
import com.oss.vo.UserAuth;
/**
 * 
* Title: IUserService
* Description: 
* Company: sungoin 
* @author   wjt
* @date       2016-2-5
 */
public interface IUserService {
	/**
	 * 
	* Title: getUserByLoginName
	* Description: 回去用户信息
	* @author   wjt
	* @date       2016-2-5
	* @param loginName
	* @return
	 */
	public  SysUser getUserByLoginName(String loginName);
	/**
	 * 
	* Title: getUserSecurity
	* Description: 获取用户的权限
	* @author   wjt
	* @date       2016-2-2
	* @param user	用户信息
	* @param req	申请的权限信息
	 * @return 
	 */
	public OssSecurityResponse getUserSecurity(SysUser user,BaseRequest req);
	UserAuth getUserAuth(SysUser user, BaseRequest req);	
}
